package com.eptok.gw.szcups.socket.client.agent;

import org.apache.mina.core.service.IoHandlerAdapter;
import org.apache.mina.filter.codec.ProtocolCodecFactory;

/**
 *@author:heqishan, Email:heqishan@gmail.com
 *2013-3-5 上午10:31:56
 */
public class ClientConfig {
	
	private String uniqueKey;
	private String host;
	private int port;
	private ProtocolCodecFactory codecFactory;
	private IoHandlerAdapter ioHandlerAdapter;
	
	public ClientConfig(String uniqueKey){
		this.uniqueKey = uniqueKey;
	}
	
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public ProtocolCodecFactory getCodecFactory() {
		return codecFactory;
	}
	public void setCodecFactory(ProtocolCodecFactory codecFactory) {
		this.codecFactory = codecFactory;
	}
	public IoHandlerAdapter getIoHandlerAdapter() {
		return ioHandlerAdapter;
	}
	public void setIoHandlerAdapter(IoHandlerAdapter ioHandlerAdapter) {
		this.ioHandlerAdapter = ioHandlerAdapter;
	}
	public String getUniqueKey() {
		return uniqueKey;
	}
	
}
